package com.xtck.ha.fault;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication(scanBasePackages = {
        "com.xtck",
        "com.xtck.ha.fault",
        "cn.hutool.extra.spring"
},exclude = {SecurityAutoConfiguration.class })
@MapperScan(basePackages = {
        "com.xtck.ha.fault.modules.dao",
        "com.xtck.ha.fault.modules.convert",
})
@EnableScheduling
public class FaultApplication {
    public static void main(String[] args) {
        SpringApplication.run(FaultApplication.class,args);
    }
}
